package com.pengli.mytools.myEnums;

public enum BaiduYunErrorEnum {
    Succes(0,"请求成功",""),
    ParamErr(2,"参数错误","检查必填字段;get/post 参数位置;"),
    TokenErr(-6,"身份验证失败","access_token 是否有效"),
    TimesErr(31034,"命中接口频控",""),
    TooMuch(42000,"访问过于频繁",""),
    RandErr(42001,"rand校验失败",""),
    AbilityOffLine(42999,"功能下线",""),
    Close1(9100,"一级封禁",""),
    Close2(9200,"二级封禁",""),
    Close3(9300,"三级封禁",""),
    Close4(9400,"四级封禁",""),
    Close5(9500,"五级封禁","");

    private Integer errno;
    private String massage;
    private String fix;

    BaiduYunErrorEnum(Integer errno, String massage, String fix) {
        this.errno = errno;
        this.massage = massage;
        this.fix = fix;
    }
}
